package com.twu.biblioteca;

import java.io.PrintStream;
import java.util.ArrayList;

/**
 * Created by varoske on 3/5/14.
 */
public class Printer {

    private String welcomeString = "Welcome to Biblioteca";

    private ArrayList<String> bookList = new ArrayList<String>();

    public Printer(){
        bookList.add("One Book");
        bookList.add("Two Book");
        bookList.add("Red Book");
        bookList.add("Blue Book");
    }

    public void greet(PrintStream printStream) {
        printStream.println(welcomeString);
    }

    public void printBookList(PrintStream printStream) {
        printStream.println(bookList + "\n");
    }

}
